package com.fuershiye.woman.monitor.service;

import java.util.List;

import com.fuershiye.woman.monitor.model.Permission;

/**
 * @author yongyongdong
 *
 */
public interface PermissionService {

    public Permission findByName(String username);

    public void save(Permission permission);

    public List<Permission> list();

    List<Permission> listByName(String name);

    Permission get(Long id);

    void delete(Long id);
}
